<template>
        <RouterView v-slot="{Component}">
                <KeepAlive>
                        <component :is="Component" :key="$route.name" v-if="$route.meta.keepAlive"/>
                </KeepAlive>
                <component :is="Component" :key="$route.name" v-if="!$route.meta.keepAlive"/>
        </RouterView>
</template>

<script setup>


</script>

<style lang="scss" scoped>

</style>